<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>所有题目列表</title>
    <style>
        * {
            margin: 0px;
            padding: 0px;
        }

        html,
        body {
            width: 100%;
            height: 100%;
        }
        .container .navbar
        {
            width: 100%;
            height: 50px; 
            background-color: rgb(15, 15, 15);

            overflow: hidden;
        }
        .container .navbar .login{
            float:right;
        }
        .container .navbar a
        {
            display: inline-block;
            width: 80px;
            /* 设置字体颜色 */
            color: aliceblue;
            font-size: large;
            line-height: 50px;
            text-decoration: none;
            text-align: center;
        }
        .container .navbar a:hover
        {
            background-color: rgb(2, 49, 33);
        }
        .container .content {
            width: 800px;
            /* background-color: aquamarine; */
            /*整体居中*/
            margin: 0px auto;
            text-align: center;
            /* 设置上外边距 */
            margin-top :200px;
        }

        .container .content .font_ {
            /* 设置标签为块级元素 */
            display: block;
            margin-top: 20px;
            text-decoration: none;

        }
        .container .question_list{
            padding: 50px;
            width: 800px;
            margin: 0px auto;
            /* background-color: azure; */
            text-align: center;
            height: 100%;

        }
        .container .question_list table
        {
            width: 100%;
            font-size: large;
            font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
            margin-top: 50px;
            background-color: rgb(198, 201, 203);
        }
        .container .question_list table .item
        {
            width: 100px;
            height: 40px;
            font-size: large;
            font-family: 'Times New Roman', Times, serif;
            
        }
        .container .question_list table .item a
        {
            text-decoration: none;
            color: black;
        }
        .container .question_list table .item a:hover
        {
            color:blue;
        }
        .container .footer
        {
            width: 100%;
            height: 50px;
            text-align: center;
            line-height: 50px;
            color: rgb(12, 217, 217);
            margin-top: 15px;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="navbar">
            <a href="/">首页</a>
            <a href="/all_questions">题库</a>
            <a href="#">竞赛</a>
            <a href="#">讨论</a>
            <a href="#">求职</a>
            <a href="#" class="login">登录</a>
        </div>
        <div class="question_list">
            <h1 style="color: rgb(9, 61, 3);">OnlineJudge题目列表</h1>
            <table>
                <tr>
                    <th class="item">编号</th>
                    <th class="item">标题</th>
                    <th class="item">难度</th>
                </tr>
                {{#questions_list}}
                <tr>
                    <td class="item">{{number}}</td>
                    <td class="item"><a href="questions/{{number}}">{{title}}</a></td>
                    <td class="item">{{star}}</td>
                </tr>
                {{/questions_list}}
            </table>
        </div>
        <div class="footer">@击飞爱🦌</div>
    </div>
</body>
</html>